package com.markerhub.service;

import com.markerhub.common.lang.Result;
import com.markerhub.pojo.dto.UserDto;
import com.markerhub.vo.WXAuth;

public interface UserService {
    boolean login(String username, String password);

    Result getSessionId(String code);

    Result authLogin(WXAuth wxAuth);

    Result wx_login(UserDto userDto);

    Result wx_register(UserDto userDto);

    Result userInfo(Boolean refresh);

    Result bindUserPhone(int userId, String phone);
}
